/**
 *  created by Marcello on 2018/5/10.
 */
import '../../utils/concrete'
/* eslint-disable */
export  function fetchListParkMag(query,dataForm) {
  const data={
    num:query.page,
    pageSize: query.limit,
    condition:dataForm
  }

  return concrete.module('BaseparkService').selectBasepark(data)///
}
export  function createParkMag(data) {
  return concrete.module('BaseparkService').saveBasepark(data)///
}
export  function updateParkMag(data) {
  return concrete.module('BaseparkService').updateBasepark(data)///
}
export  function deleteParkMag(parkNos) {
  const deleteList=[]
  for (var i = 0; i < parkNos.length; i++){
    deleteList.push(parkNos[i].park_no)
  }
  return concrete.module('BaseparkService').deleteBasepark(deleteList)///
}
export function getChargeStandard() {
  return concrete.module('ChargeStandardService').selectChargeStandardCombobox()///
}
